//变量
$font_color: #727171;
$hover_color:#A10000;
$border_color: #c9caca;
header{
    width: auto;
    height: 200px;
    margin: auto;
    color: $font_color;
    //头部-上
    #H_top{
        height: 25px;
        border-bottom: 2px $border_color solid;
        line-height: 25px;
        div{
            width: 1220px;
            font-size: 12px;
            margin: auto;
            display: flex;
            justify-content: flex-end;
            span{
                margin: 0 10px;
            }
            #Order{
                a:hover{
                    color: $hover_color;
                }
            }
            #Notice{
                span{
                    margin: 0 1px ;
                    font-size: 13px;
                    &:nth-child(1){ 
                        color: $hover_color;
                    }
                    &:nth-child(2):hover{
                        color: $hover_color;
                    }
                }
            }
            a{
                color: $font_color;
                img{
                    width: 18px;
                    height: 18px;
                }
            }
        }
    }
    //头部_中(搜索栏,购物车)
    #H_middle{
        height: 80px;
        width: 1220px;
        margin: 0 auto;
        position: relative;
        form{
            width: 445px;
            height: 30px;
            position: relative;
            font-size: 0;
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            margin: auto;
            input:nth-child(1){
                height: 27px;
                width: 249px;
                padding: 0 5px;
                border: 1px solid #c9caca;
            }
            input:nth-child(2){
                height: 29px;
                width: 49px;
                font-size: 12px;
                background-color:#ba1a22;
                color: white;
                cursor: pointer;
                border: 1px solid #c9caca;
                border-left: none;
            }
            input:nth-child(3){
                height: 29px;
                width: 107px;
                margin-left: 22px;
                background-color: #ba1a22;
                color: white;
                cursor: pointer;//图标为手
                border: 1px solid #c9caca;
            }     
        }
        p{
            color: $font_color;
            font-size: 13px;
            display: block;
            position: absolute;
            right: 30px;
            bottom: 0;
            a{
                color: $font_color;
                margin: 0 5px 0 0;
            }
        }
    }
        //导航栏
    #H_bottom{
        width: 1200px;
        margin: 0 auto;
        margin-top: 20px;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        a{
            img{
                width: 190px;
                height: 45px;
            }
        }
        li{
            height: 40px;
            width: 100px;
            display: inline-block;
            line-height: 40px;
            text-align: center;
            // background-color: red;
            a{
                color: $font_color;
                display: inline-block;
                width: 99px;
                &:hover{
                    color: red;
                    border-bottom: 2px solid red;
                }
            }
            div{
                display: inline-block;
                width: 1px;
                height: 16px;
                background-color: #888888;
                
            }
    }
    }
}